import request from '@/utils/request';
// 登录请求
export function login(data) {
  return request({
    method: 'POST',
    url: '/sys/login',
    data,
  });
}

// 获取用户信息的请求
export function getUserInfo() {
  return request({
    method: 'POST',
    url: '/sys/profile',
  });
}

// 获取用户的基本信息
export function getUserBaseInfo(id) {
  return request({
    methods: 'GET',
    url: `/sys/user/${id}`,
  });
}
export function getInfo(token) {

}

export function logout() {

}
